import request from '@/utils/request'


export function listAddressUnit(query) {
    return request({
        url: '/wvp/onlineMonitor/list',
        method: 'get',
        params: query
    })
}
export function getLiveInfo(id) {
    return request({
        url: '/wvp/onlineMonitor/live/'+id,
        method: 'post',
        params: {}
    })
}
export function getHistoryLiveInfo(id,params={}) {
    return request({
        url: '/wvp/onlineMonitor/historyLive/'+id,
        method: 'post',
        params: params
    })
}
